<template>
  <div class="policy" :class="skin === '0' ? 'policy-black' : 'policy-white'">
  </div>
</template>
<script>
import { ref } from "vue";
import { useRoute, useRouter } from "vue-router";
export default {
  setup() {
    const router = useRouter();
    console.log(router);
    const route = useRoute();
    let skin = ref("1");
    skin.value = route.query.skin || "1";

    return {
      skin,
    };
  },
};
</script>
<style lang="scss" scoped>
.policy {
  background: #fff8e7;
  min-height: 100vh;
  font-size: 14px;
  padding: 20px;
  text-align: left;
  h1 {
    font-weight: normal;
    font-size: 16px;
  }
  p {
    margin: 10px 0;
    line-height: 24px;
    word-break: break-word;
  }
  footer {
    text-align: right;
  }
}
</style>
